package com.xucia.jsponic.data;

import com.xucia.jsponic.datasource.PersistableInitializer;

public class DataSourceHelper {
	private DataSourceHelper() {		
	}
    /**
     * This can be called by data sources to initialize or reinitialize an object without having to wait for an object 
     * request to trigger initialization.
     * @param id
     * @return
     */
    public static PersistableInitializer initializeObject(final ObjectId id) {
    	return PersistableImpl.initializeObject(id);
    }
    /**
     * This can be called by data sources to initialize or reinitialize an object without having to wait for an object 
     * request to trigger initialization.
     * @param id
     * @return
     */
    public static PersistableInitializer initializeObject() {
    	return PersistableImpl.initializeObject();
    }

}
